package com.cddata;

import java.awt.Font;
import java.awt.GridLayout;

import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;
import javax.swing.border.BevelBorder;

@SuppressWarnings("serial")
public class Header extends JPanel {
	public Header()  {
		setLayout(new GridLayout(1,4));
		setBounds(0,0,100,450);
		setBorder(new BevelBorder(BevelBorder.RAISED));
		//		titlePanel.setBackground(Color.magenta);
		ImageIcon logo = new ImageIcon( "images//world.JPG");
		add(new JLabel("",logo, SwingConstants.LEFT));
		JLabel cmsLabel = new JLabel("Content Management System",SwingConstants.CENTER);
		cmsLabel.setFont(new Font("Helvetica", Font.BOLD, 12));
		add(cmsLabel);
		add(new JLabel("",logo, SwingConstants.RIGHT));
		setVisible(true);
		validate();
	}
}
